package JavaBase.Polymorphism;

public class Ape {
    private String name;
    public Ape(String name)
    {
        this.name=name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void speak()
    {
        System.out.println("咿咿呀呀。。。。。。");
    }
}
